package com.hb.software.user.dao;

import com.hb.software.dao.BaseDao;
import com.hb.software.entity.user.User;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface UserDao  extends BaseDao<User,Long> {

    //根据用户名查询用户
    User findByUsername(String username);

    void updateRole(User user);

}
